import java.util.Scanner;

/**
 * @author vivi
 * @description
 * @date 2024/4/25
 */
public class demo3 {
    public static void main (String[] args) {

    }
    public boolean IsContinuous (int[] numbers)
    {
        boolean[] hash = new boolean[14];
        int maxVal = 0, minVal = 14;
        for(int x : numbers)
        {
            if(x != 0)
            {
                if(hash[x]) return false; // 说明重复出现了
                hash[x] = true;
                maxVal = Math.max(maxVal, x);
                minVal = Math.min(minVal, x);
            }
        }
        return maxVal - minVal <= 4;
    }
}
